package com.lagou.assignment.factory;

import com.lagou.assignment.dao.AdminDao;
import com.lagou.assignment.dao.AdminDaoImp;

public class AdminDaoFactory {

    /**
     * 通过静态工厂方法模式来实现UserDao实现类对象的创建并返回
     * @return
     */
    public static AdminDao getAdminDao() {
        return new AdminDaoImp();
    }
}
